home *** CD-ROM | disk | FTP | other *** search
/ Galleria D'arte: Manet / Manet.iso / Dati / Memo.dxr / 00006_Switch Mouseenter fiori.ls < prev    next >
Encoding:
Text File  |  2000-12-21  |  1.3 KB  |  30 lines

  1. property pCastORIG, pCastFB1, pFB2, pCastFB2, pCUR, pMASK, pCURdn, pMASKdn
  2.  
  3. on getPropertyDescriptionList
  4.   pippo = the memberNum of sprite (the currentSpriteNum + 1)
  5.   pluto = pippo + 1
  6.   paperino = pippo + 2
  7.   propertyDescriptionList = [#pCastORIG: [#comment: "Numero elemento del Cast di origine del bottone", #format: #integer, #default: pippo], #pCastFB1: [#comment: "Numero elemento del Cast del primo feedback", #format: #integer, #default: pluto], #pCUR: [#comment: "Numero elemento del Cast da utilizzare come cursore", #format: #bitmap, #default: member(100)], #pMASK: [#comment: "Maschera cursore", #format: #bitmap, #default: member(101)], #pCURdn: [#comment: "Numero elemento del Cast da utilizzare come cursore per il mousedown", #format: #bitmap, #default: member(102)], #pMASKdn: [#comment: "Maschera cursore", #format: #bitmap, #default: member(103)]]
  8.   return propertyDescriptionList
  9. end
  10.  
  11. on mouseWithin me
  12.   set the memberNum of sprite (the currentSpriteNum + 1) to pCastFB1
  13.   cursor(280)
  14.   updateStage()
  15. end
  16.  
  17. on mouseLeave me
  18.   set the memberNum of sprite (the currentSpriteNum + 1) to pCastORIG
  19.   cursor(-1)
  20.   updateStage()
  21. end
  22.  
  23. on mouseDown me
  24.   set the memberNum of sprite (the currentSpriteNum + 1) to pCastORIG
  25.   cursor(280)
  26.   repeat while the stillDown
  27.     updateStage()
  28.   end repeat
  29. end
  30.